﻿<%@ Page Language="C#" MasterPageFile="~/Management/ManagementMasterPage.master" AutoEventWireup="true" CodeBehind="orderlistes.aspx.cs" Inherits="WebApp.Management.Product.orderlistes" Title="无标题页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphContent" runat="server">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    <asp:Button ID="Button2" runat="server" Text="根据订单号查询" 
        onclick="Button2_Click" />
&nbsp;<asp:ListView ID="lvActivity" runat="server"   >
   
		<LayoutTemplate>
			<table cellpadding="2"  border="1">
				<tr>
					
					<th>订单号 </th>
				    <th>订单时间 </th>
					<%--<th>客户姓名 </th>--%>
                    <th>手机号码 </th>
                    <th>电话号码 </th>
				    <th>是否发货</th>
					<th>商品价格</th>
					<th>运费</th>
                    <th>送货时间</th>
					<th>地址</th>
					<th>支付类型</th>
					<th>是否支付</th>
					<th>产品名称</th>
					<th>产品编号</th>
                    <th>订购的数量</th>
				</tr>
				<asp:PlaceHolder id=itemPlaceholder runat=server/>
			</table>
			<asp:DataPager ID="dpActivity" runat="server" PagedControlID="lvActivity" PageSize="20">
				<Fields>
					<asp:NextPreviousPagerField ButtonType=Link ShowFirstPageButton="True" ShowNextPageButton="False"
						ShowPreviousPageButton="False" />
					<asp:NumericPagerField />
					<asp:NextPreviousPagerField ButtonType=Link ShowLastPageButton="True" ShowNextPageButton="False"
						ShowPreviousPageButton="False" />
				</Fields>
			</asp:DataPager>
		</LayoutTemplate>
		<ItemTemplate>
			<tr>
				<td>
				<a href=orderdetilists.aspx?PID=<%# Eval("OrderId") %>>	<%#Eval("OrderNum")%>
				</td>
				<td>
					<%# Eval("CreateTime")%>
				</td>
				<%--<td>
				<%# Eval("UserName")%>
				</td>--%>
				<td>
				<%# Eval("DeliveryCellPhone")%>
				</td>
				<td>
				<%# Eval("DeliveryTel")%>
				</td>
				<td>
				<%# Eval("State")%>
				</td>
				<td>
				<%# Eval("Price")%>
				</td>
				<td>
				<%# Eval("DeliveryPrice")%>
				</td>
				<td>
				<%# Eval("DeliveryTime")%>
				</td>
				<td>
				<%# Eval("DeliveryAddress")%>
				</td>
				<td>
				<%# Eval("deliveryType")%>
				</td>
				<td>
				<%# Eval("Valid")%>
				</td>
				<td>
				<%# Eval("Name")%>
				</td>
				<td>
				<%# Eval("productcode ")%>
				</td>
				<td>
				<%# Eval("count")%>
				</td>
			</tr>
		</ItemTemplate>
	</asp:ListView>
</asp:Content>
